package com.suxin.decorator;

/**
 * @author Tang
 * @classname ClientMain
 * @description [  ]
 * @date 2021/5/10 14:25
 */
public class ClientMain {

    public static void main(String[] args) {
        DecoratorCocol cocol = new DecoratorCocol(new DecoratorMike(new MikeComponent(), 10), 20);
        System.out.println(cocol.sellWater());
    }

}